class Enterprise < ActiveRecord::Base
  validates_presence_of :enterprise_name, :on=>:create, :message =>"商户名不能为空!"  
  validates_presence_of :address, :on=>:create, :message =>"地址不能为空!" 
end
